(function(){var c=["midp","240x320","blackberry","netfront","nokia","panasonic","portalmmm","sharp","sie-","sonyericsson","symbian","windows ce","benq","mda","mot-","opera mini","philips","pocket pc","sagem","samsung","sda","sgh-","vodafone","xda","iphone","ipad","android"],d,e=!1,a;if(!/full_io_site=1/.test(document.cookie||"")){d=navigator.userAgent.toLowerCase();for(var b=0;b<c.length;b++)if(d.indexOf(c[b])!=-1)e=!0,a=window.location.pathname,a.indexOf("agenda.html")!==-1?a="/mobile/agenda.html":a.indexOf("sessions.html")!==
-1?a="/mobile/tracks.html":/sessions\/(.*?\.html)/.test(a)?(a=a.match(/sessions\/(.*?\.html)/),a="/mobile/sessions/all-tracks/"+a[1]):a="/mobile/index.html",window.location.replace("/events/io/2011"+a);if(!e)document.cookie="full_io_site=1; max-age=3600; path=/";window.onload=function(){function a(){document.cookie="full_io_site=0; max-age=0; path=/"}var b=document.getElementById("mobile-site");if(b)b.onclick=a}}})();
